<form id="block_time_form" action="<?php echo url_for('@settings_block_time_create') ?>" method="post">
    <table>
        <?php echo $form->renderGlobalErrors() ?>
        <tr>
            <td><?php echo __('Date start') ?></td>
            <td><?php echo $form['date_start']->render() ?></td>
            <td><?php if ($form['date_start']->hasError()) echo __($form['date_start']->getError()->getMessage()) ?></td>
        </tr>
        <tr>
            <td><?php echo __('Time start') ?></td>
            <td><?php echo $form['time_start_hour']->render() ?> : <?php echo $form['time_start_minute']->render() ?></td>
            <td><?php if ($form['time_start_hour']->hasError()) echo __($form['time_start_hour']->getError()->getMessage()) ?></td>
            <td><?php if ($form['time_start_minute']->hasError()) echo __($form['time_start_minute']->getError()->getMessage()) ?></td>
        </tr>
        <tr>
            <td><?php echo __('Date end') ?></td>
            <td><?php echo $form['date_end']->render() ?></td>
            <td><?php if ($form['date_end']->hasError()) echo __($form['date_end']->getError()->getMessage()) ?></td>
        </tr>
        <tr>
            <td><?php echo __('Time end') ?></td>
            <td><?php echo $form['time_end_hour']->render() ?> : <?php echo $form['time_end_minute']->render() ?></td>
            <td><?php if ($form['time_end_hour']->hasError()) echo __($form['time_end_hour']->getError()->getMessage()) ?></td>
            <td><?php if ($form['time_end_minute']->hasError()) echo __($form['time_end_minute']->getError()->getMessage()) ?></td>
        </tr>
        <tr>
            <td><?php echo __('Reason') ?></td>
            <td><?php echo $form['reason']->render() ?></td>
            <td><?php if ($form['reason']->hasError()) echo __($form['reason']->getError()->getMessage()) ?></td>
        </tr>
    </table>
    <?php echo $form->renderHiddenFields() ?>
</form>